﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CSharpDemo
{
    public class Robot
    {
        public string name;

        Messager msg = new Messager();
        public void ShowTime()
        {
            MessageBox.Show("现在时间是:\n" + DateTime.Now.ToString());
        }

        public string GetAnswer(string question)
        {
            return msg.GetAnswer(question);
        }

        
    }
}
